package com.julyup.core.constant;

/**
 * 错误码
 *
 * @Author: zhenzhong.wang@honeywell.com
 * @Date: 2018/12/11 10:12 PM
 */
public enum ErrorEnum {

  PASSWORD_ERROR(50001, "密码错误"),
  SERVER_ERROR(50000, "服务器异常")
  ;

  private int code;
  private String msg;

  private ErrorEnum(int code, String msg) {
    this.code = code;
    this.msg = msg;
  }

  public int getCode() {
    return code;
  }

  public String getMsg() {
    return msg;
  }
}
